package com.lskj.shiro.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.List;

/**
 * @Author zzq
 * @Date 2020/4/2 10:52
 * @Version 1.0
 */
@Setter
@Getter
@NoArgsConstructor
@ToString
public class SysRole implements Serializable {
    private static final long serialVersionUID = -3035788058755326306L;
    @Id
    private String id;

    private String userId;

    private String roleName;

    private transient List<SysPerm> perms;
}
